package stud.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import stud.aistar.entity.Science;
import stud.aistar.mapper.ScienceMapper;
import stud.aistar.service.IScienceService;

import java.util.List;

/**
 * Created by Administrator on 2019/10/6.
 */
@Service
@Transactional
public class ScienceServiceImpl implements IScienceService {

    @Autowired
    private ScienceMapper scienceMapper;

    @Override
    public List<Science> findAll() {
        return scienceMapper.findAll();
    }
}
